package com.sync.syncmasterdata;


import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.sync.syncmasterdata.customer.controller.CusSyncController;
import com.sync.syncmasterdata.dingrobot.controller.DingController;
import com.sync.syncmasterdata.dingrobot.pojo.DingMsg;
import com.sync.syncmasterdata.product.entity.wms.EleProduct;
import com.sync.syncmasterdata.product.pojo.cp.InventoryForCP;
import com.sync.syncmasterdata.product.pojo.oa.InventoryForOA;
import com.sync.syncmasterdata.product.service.SyncInventoryService;
import com.sync.syncmasterdata.product.service.convert.ProductOAtoCP;
import com.sync.syncmasterdata.product.service.convert.ProductOAtoWms;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang.StringUtils;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

/**
 * 手动推送oa 临时
 */
@SpringBootTest
@Slf4j
class SyncMasterDataApplicationManulOAPush {

    @Autowired
    private ObjectMapper objectMapper;

    @Autowired
    private CusSyncController cusSyncController;

    @Test
    void contextLoads() {
    }

    /**
     * 触发推送
     */
    @Test
    public void manulPushOa() {
        log.info("手动触发开始");
//        cusSyncController.manulVendorPush();
    }
}
